package com.chushouya.manager.dto.admin.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("菜单详情")
@Data
public class MenuSaveDTO {

    @ApiModelProperty("菜单ID")
    private Long menuId;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("父菜单ID")
    private Long parentId;

    @ApiModelProperty("显示顺序")
    private Integer orderNum;

    @ApiModelProperty("路由地址")
    private String path;

    @ApiModelProperty("组件路径")
    private String component;

    @ApiModelProperty("是否为外链（1是 0否）")
    private Integer isOutLink;

    @ApiModelProperty("否缓存（1缓存 0不缓存）")
    private Integer isCache;

    @ApiModelProperty("菜单类型（M目录 C菜单 F按钮）")
    private String menuType;

    @ApiModelProperty("显示状态（1显示 0隐藏）")
    private Integer visible;

    @ApiModelProperty("菜单状态（1正常 0停用）")
    private Integer status;

    @ApiModelProperty("微服务模块")
    private String service;

    @ApiModelProperty("权限标识")
    private String perms;

    @ApiModelProperty("菜单图标")
    private String icon;

    @ApiModelProperty(value = "系统类型(1平台后台,2商家后台)", hidden = true)
    private Integer systemType;

    @ApiModelProperty("备注")
    private String remark;

}
